package com.example.demo.mapper;

import com.example.demo.domain.TodoList;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TodoListMapper {

    Integer selectCount();

    Integer insertTodo(TodoList item);

    Integer deleteTodoById(String id);

    Integer updateTodo(TodoList item);

    List<TodoList> queryTodoListByName(String name);
}
